home *** CD-ROM | disk | FTP | other *** search
/ Mac Format 1994 October / Macformat17.cdr / Shareware in MacFormat / Translation package v1.52 / ctc v1.7 ƒ / ctc 1.7 readme next >
Text File  |  1994-06-15  |  3KB  |  58 lines

  1. #### BINHEX     change-creator-type-15.hqx   ****
  2.  
  3. Date: Sun, 26 Sep 93 13:11:14 CDT 
  4. From: jemian@tmnxt1.iit.edu (Pete Jemian)
  5. Subject: [*] ctc v1.5 (ChangeTypeCreator + change EOLs, too!) 
  6.  
  7. v1.4 ChangeTypeCreator.c 
  8.     Change the file type and creator of any file dropped onto 
  9.     this program.  Prompts for the file type and creator, and 
  10.     changes all files dropped at the same time to the same type 
  11.     and creator.
  12.  
  13. Written by Brian Bechtel, based on code by Juri Munkki
  14. Feel free to use the code in your programs.
  15.  
  16. v1.5 Modified by Pete R. Jemian, Late-Nite(tm) Software
  17.  
  18. Option was added to convert TEXT files to the 
  19. chosen system of EOL (end-of-line) characters.  Note that EOLs
  20. on DOS files  are <CR><LF>  (VAX also uses this EOL format)
  21. on Mac files  are <CR>
  22. on UNIX files are <LF>
  23.  
  24. If you aren't bothered by this, that's just great.  If you are, this little hack will surely help.  Very useful for moving TEXT files between DOS, Mac, and UNIX machines 
  25. by diskNet (copy file onto disk, remove disk, sneaker it to other machine, ...).
  26.  
  27. BTW: The EOLconvert code reads the entire file into memory at one time, then does the conversion as the file is re-written.
  28.  
  29. WARNING: If you don't know what you are doing, things *could* get pretty fouled up.  They might not.  UNDO is not supported.  
  30. See the source code to determine *exactly* what is done.  
  31.  
  32. The problem that *could* occur is that you mistakenly select a non-TEXT file along with other TEXT files and convert them all to type TEXT *and* convert the EOL characters to the selection of your choice.  That's the danger.  Don't do it.  
  33. You are unprotected against goofball errors like this.
  34.  
  35. v1.6 Modified by Mark Fleming <MarkF@Post.Queensu.CA>
  36.  
  37. - Added code to display the current setting of the file before any changes.
  38. - Added option to only change type or creator
  39. - Changed EOL code to use Finder temporary Memory and only change file of type 'TEXT'
  40. - Added error checking and reporting routine
  41. - Added Balloon Help for System 7's finder
  42. - Added reading Application name for Creators entered from DeskTop database 
  43.      if exists and display it next to create entered.
  44. - read file header and check for correct header for "TIFF", "BMP", "GIFF", and "EPSF" and suggest the correct file type.
  45.  
  46. v1.7 changes by Mark Fleming, June 15th, 1994
  47.  
  48. -  Added auto suggesting of correct file types for: 
  49.             Format of the file    (creator)            -   File Type
  50.             PICT files  (ttxt-TeachText)      -  PICT
  51.             PhotoShop V2.5 files    (8BIM)            -    8BPS
  52.             Common Ground™ files (CGVM)   -    CGDC
  53.             JPEG (JIFF) files                        -    JPEG
  54.     
  55. -  Added autotype check for batching files, 
  56.         if autotype of next file in the group dropped is different it will prompt you again.
  57. -  Converted to Codewarrior (next version will be a fat application PPC + 68K code).
  58.